<h2><?php e($this->pageTitle); ?></h2>
<p><?php e($html->link('Add User', '/admin/users/add')); ?></p>

<table>
	<tr>
		<th>Username</th>
		<th>Created</th>
		<th>Edit</th>
		<th>Delete</th>
	</tr>
<?php foreach($users as $user): ?>
	<tr>
		<td><?php e($user['User']['login']); ?></td>
		<td><?php e($time->nice($user['User']['created'])); ?></td>
		<td><?php e($html->link('Edit', array('action' => 'edit', 'id' =>$user['User']['id']))); ?></td>
		<td><?php e($html->link('Delete', array('action' => 'delete', 'id' =>$user['User']['id']), null, 'Are you sure?')); ?></td>
	</tr>
<?php endforeach; ?>
</table>